package cn.aifeix.order.service;

import cn.aifeix.basic.util.PageList;
import cn.aifeix.order.domain.OrderProduct;
import cn.aifeix.basic.service.IBaseService;
import cn.aifeix.order.query.OrderProductQuery;
import cn.aifeix.org.domain.Employee;
import cn.aifeix.pet.dto.AcceptOrderFormDto;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author aifeix
 * @since 2022-11-03
 */
public interface IOrderProductService extends IBaseService<OrderProduct> {

    PageList<OrderProduct> toHandle(OrderProductQuery query);

    void reject(Long id, Employee employee);

    void confirm(Long id);

    void cancel(Long id);

    void accept(AcceptOrderFormDto dto);
}
